.class public Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;
.super Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;
.source "AddIntroOrOutroActivity.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity$e;
    }
.end annotation


# instance fields
.field private A:Landroidx/viewpager/widget/ViewPager$OnPageChangeListener;

.field private m:Les/cd;

.field private n:Les/cd;

.field private final o:[Ljava/lang/String;

.field private p:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Les/zc;",
            ">;"
        }
    .end annotation
.end field

.field private q:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Les/zc;",
            ">;"
        }
    .end annotation
.end field

.field private r:Lcom/esfile/screen/recorder/ui/DuRecorderViewPager;

.field private s:Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/b;

.field private t:Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/b;

.field private u:Landroid/view/View;

.field private v:Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/IntroOutroTemplateContainer;

.field private w:Z

.field private x:Z

.field private y:Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/b$c;

.field private z:Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/b$c;


# direct methods
.method public constructor <init>()V
    .locals 4

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;-><init>()V

    const/4 v0, 0x6

    new-array v0, v0, [Ljava/lang/String;

    const/4 v1, 0x0

    const-string v2, "BGMRender"

    aput-object v2, v0, v1

    const-string v1, "BackgroundRender"

    const/4 v2, 0x1

    aput-object v1, v0, v2

    const/4 v1, 0x2

    const-string v3, "SubtitleRender"

    aput-object v3, v0, v1

    const/4 v1, 0x3

    const-string v3, "CropRender"

    aput-object v3, v0, v1

    const/4 v1, 0x4

    const-string v3, "RotateRender"

    aput-object v3, v0, v1

    const/4 v1, 0x5

    const-string v3, "PictureRender"

    aput-object v3, v0, v1

    .line 2
    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->o:[Ljava/lang/String;

    .line 3
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->p:Ljava/util/List;

    .line 4
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->q:Ljava/util/List;

    .line 5
    iput-boolean v2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->w:Z

    .line 6
    iput-boolean v2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->x:Z

    .line 7
    new-instance v0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity$b;

    invoke-direct {v0, p0}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity$b;-><init>(Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;)V

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->y:Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/b$c;

    .line 8
    new-instance v0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity$c;

    invoke-direct {v0, p0}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity$c;-><init>(Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;)V

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->z:Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/b$c;

    .line 9
    new-instance v0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity$d;

    invoke-direct {v0, p0}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity$d;-><init>(Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;)V

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->A:Landroidx/viewpager/widget/ViewPager$OnPageChangeListener;

    return-void
.end method

.method private I()V
    .locals 6

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->m:Les/cd;

    iget-object v0, v0, Les/cd;->a:Ljava/lang/String;

    invoke-static {v0}, Lcom/esfile/screen/recorder/utils/i;->d(Ljava/lang/String;)Lcom/esfile/screen/recorder/media/util/y;

    move-result-object v0

    .line 2
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->m:Les/cd;

    iget-object v1, v1, Les/cd;->g:Les/cd$c;

    if-eqz v1, :cond_0

    iget-object v1, v1, Les/cd$c;->d:Landroid/graphics/Bitmap;

    if-eqz v1, :cond_0

    .line 3
    invoke-virtual {v0}, Lcom/esfile/screen/recorder/media/util/y;->a()I

    move-result v1

    mul-int/lit8 v1, v1, 0x10

    div-int/lit8 v1, v1, 0x9

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/media/util/y;->b(I)V

    goto :goto_4

    :cond_0
    const/4 v1, 0x0

    .line 4
    iget-object v2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->m:Les/cd;

    iget-object v2, v2, Les/cd;->h:Les/cd$n;

    if-eqz v2, :cond_1

    .line 5
    iget v1, v2, Les/cd$n;->a:I

    :cond_1
    const/16 v2, 0xb4

    if-eqz v1, :cond_3

    if-ne v1, v2, :cond_2

    goto :goto_0

    .line 6
    :cond_2
    invoke-virtual {v0}, Lcom/esfile/screen/recorder/media/util/y;->a()I

    move-result v3

    goto :goto_1

    :cond_3
    :goto_0
    invoke-virtual {v0}, Lcom/esfile/screen/recorder/media/util/y;->b()I

    move-result v3

    :goto_1
    if-eqz v1, :cond_5

    if-ne v1, v2, :cond_4

    goto :goto_2

    .line 7
    :cond_4
    invoke-virtual {v0}, Lcom/esfile/screen/recorder/media/util/y;->b()I

    move-result v1

    goto :goto_3

    :cond_5
    :goto_2
    invoke-virtual {v0}, Lcom/esfile/screen/recorder/media/util/y;->a()I

    move-result v1

    .line 8
    :goto_3
    iget-object v2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->m:Les/cd;

    iget-object v2, v2, Les/cd;->i:Les/cd$d;

    if-eqz v2, :cond_6

    .line 9
    iget-object v4, v2, Les/cd$d;->a:Landroid/graphics/RectF;

    if-eqz v4, :cond_6

    .line 10
    iget v5, v4, Landroid/graphics/RectF;->right:F

    iget v4, v4, Landroid/graphics/RectF;->left:F

    sub-float/2addr v5, v4

    int-to-float v3, v3

    mul-float v5, v5, v3

    float-to-int v3, v5

    invoke-virtual {v0, v3}, Lcom/esfile/screen/recorder/media/util/y;->b(I)V

    .line 11
    iget-object v2, v2, Les/cd$d;->a:Landroid/graphics/RectF;

    iget v3, v2, Landroid/graphics/RectF;->bottom:F

    iget v2, v2, Landroid/graphics/RectF;->top:F

    sub-float/2addr v3, v2

    int-to-float v1, v1

    mul-float v3, v3, v1

    float-to-int v1, v3

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/media/util/y;->a(I)V

    goto :goto_4

    .line 12
    :cond_6
    invoke-virtual {v0, v3}, Lcom/esfile/screen/recorder/media/util/y;->b(I)V

    .line 13
    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/media/util/y;->a(I)V

    .line 14
    :goto_4
    invoke-virtual {v0}, Lcom/esfile/screen/recorder/media/util/y;->b()I

    move-result v1

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/media/util/y;->a()I

    move-result v0

    invoke-direct {p0, v1, v0}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->a(II)V

    return-void
.end method

.method private J()V
    .locals 2

    .line 1
    invoke-virtual {p0}, Landroid/app/Activity;->isDestroyed()Z

    move-result v0

    if-nez v0, :cond_1

    invoke-virtual {p0}, Landroid/app/Activity;->isFinishing()Z

    move-result v0

    if-eqz v0, :cond_0

    goto :goto_0

    .line 2
    :cond_0
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->s:Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/b;

    iget-boolean v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->x:Z

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/b;->setOrientation(Z)V

    .line 3
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->t:Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/b;

    iget-boolean v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->x:Z

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/b;->setOrientation(Z)V

    .line 4
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->s:Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/b;

    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->p:Ljava/util/List;

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/b;->setTemplateInfoList(Ljava/util/List;)V

    .line 5
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->t:Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/b;

    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->q:Ljava/util/List;

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/b;->setTemplateInfoList(Ljava/util/List;)V

    :cond_1
    :goto_0
    return-void
.end method

.method private K()V
    .locals 2

    .line 1
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->z()Lcom/esfile/screen/recorder/videos/edit/player/VideoEditPlayer;

    move-result-object v0

    .line 2
    invoke-virtual {v0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->getIntroAndOutroContainer()Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/IntroOutroTemplateContainer;

    move-result-object v0

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->v:Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/IntroOutroTemplateContainer;

    .line 3
    sget-object v1, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/IntroOutroTemplateContainer$DisplayMode;->EDITABLE:Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/IntroOutroTemplateContainer$DisplayMode;

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/IntroOutroTemplateContainer;->setDisplayMode(Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/IntroOutroTemplateContainer$DisplayMode;)V

    .line 4
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->v:Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/IntroOutroTemplateContainer;

    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->p:Ljava/util/List;

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/IntroOutroTemplateContainer;->setIntroTemplateInfoList(Ljava/util/List;)V

    .line 5
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->v:Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/IntroOutroTemplateContainer;

    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->q:Ljava/util/List;

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/IntroOutroTemplateContainer;->setOutroTemplateInfoList(Ljava/util/List;)V

    .line 6
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->v:Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/IntroOutroTemplateContainer;

    new-instance v1, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity$a;

    invoke-direct {v1, p0}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity$a;-><init>(Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;)V

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/IntroOutroTemplateContainer;->setOnTemplateDeleteCallback(Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/IntroOutroTemplateContainer$d;)V

    return-void
.end method

.method private L()V
    .locals 6

    .line 1
    invoke-static {p0}, Les/ad;->a(Landroid/content/Context;)Ljava/util/List;

    move-result-object v0

    if-eqz v0, :cond_1

    .line 2
    invoke-static {}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/a;->c()Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/a;

    move-result-object v1

    const-string v2, "/IntroOutro/Intro/Vertical"

    .line 3
    invoke-virtual {v1, v2}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/a;->a(Ljava/lang/String;)Ljava/util/Map;

    move-result-object v1

    .line 4
    invoke-static {}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/a;->c()Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/a;

    move-result-object v2

    const-string v3, "/IntroOutro/Intro/Horizontal"

    .line 5
    invoke-virtual {v2, v3}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/a;->a(Ljava/lang/String;)Ljava/util/Map;

    move-result-object v2

    if-eqz v1, :cond_1

    if-eqz v2, :cond_1

    .line 6
    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :cond_0
    :goto_0
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v3

    if-eqz v3, :cond_1

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Les/zc;

    .line 7
    iget-object v4, v3, Les/zc;->b:Ljava/lang/String;

    .line 8
    invoke-static {v4}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v5

    if-nez v5, :cond_0

    invoke-interface {v1, v4}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z

    move-result v5

    if-eqz v5, :cond_0

    .line 9
    invoke-interface {v2, v4}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z

    move-result v5

    if-eqz v5, :cond_0

    .line 10
    invoke-interface {v2, v4}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Ljava/lang/String;

    iput-object v5, v3, Les/zc;->d:Ljava/lang/String;

    .line 11
    invoke-interface {v1, v4}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Ljava/lang/String;

    iput-object v4, v3, Les/zc;->e:Ljava/lang/String;

    .line 12
    iget-object v4, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->p:Ljava/util/List;

    invoke-interface {v4, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_0

    .line 13
    :cond_1
    invoke-static {p0}, Les/ad;->b(Landroid/content/Context;)Ljava/util/List;

    move-result-object v0

    if-eqz v0, :cond_3

    .line 14
    invoke-static {}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/a;->c()Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/a;

    move-result-object v1

    const-string v2, "/IntroOutro/Outro/Vertical"

    .line 15
    invoke-virtual {v1, v2}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/a;->a(Ljava/lang/String;)Ljava/util/Map;

    move-result-object v1

    .line 16
    invoke-static {}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/a;->c()Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/a;

    move-result-object v2

    const-string v3, "/IntroOutro/Outro/Horizontal"

    .line 17
    invoke-virtual {v2, v3}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/a;->a(Ljava/lang/String;)Ljava/util/Map;

    move-result-object v2

    if-eqz v1, :cond_3

    if-eqz v2, :cond_3

    .line 18
    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :cond_2
    :goto_1
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v3

    if-eqz v3, :cond_3

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Les/zc;

    .line 19
    iget-object v4, v3, Les/zc;->b:Ljava/lang/String;

    .line 20
    invoke-static {v4}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v5

    if-nez v5, :cond_2

    invoke-interface {v1, v4}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z

    move-result v5

    if-eqz v5, :cond_2

    .line 21
    invoke-interface {v2, v4}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z

    move-result v5

    if-eqz v5, :cond_2

    .line 22
    invoke-interface {v2, v4}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Ljava/lang/String;

    iput-object v5, v3, Les/zc;->d:Ljava/lang/String;

    .line 23
    invoke-interface {v1, v4}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Ljava/lang/String;

    iput-object v4, v3, Les/zc;->e:Ljava/lang/String;

    .line 24
    iget-object v4, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->q:Ljava/util/List;

    invoke-interface {v4, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_1

    :cond_3
    return-void
.end method

.method private M()V
    .locals 5

    .line 1
    new-instance v0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/b;

    invoke-direct {v0, p0}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/b;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->s:Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/b;

    .line 2
    new-instance v1, Landroid/view/ViewGroup$LayoutParams;

    const/4 v2, -0x1

    invoke-direct {v1, v2, v2}, Landroid/view/ViewGroup$LayoutParams;-><init>(II)V

    invoke-virtual {v0, v1}, Landroid/widget/FrameLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 3
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->s:Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/b;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/b;->setMode(I)V

    .line 4
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->s:Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/b;

    iget-object v3, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->y:Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/b$c;

    invoke-virtual {v0, v3}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/b;->setOnSelectedListener(Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/b$c;)V

    .line 5
    new-instance v0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/b;

    invoke-direct {v0, p0}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/b;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->t:Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/b;

    .line 6
    new-instance v3, Landroid/view/ViewGroup$LayoutParams;

    invoke-direct {v3, v2, v2}, Landroid/view/ViewGroup$LayoutParams;-><init>(II)V

    invoke-virtual {v0, v3}, Landroid/widget/FrameLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 7
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->t:Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/b;

    const/4 v2, 0x1

    invoke-virtual {v0, v2}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/b;->setMode(I)V

    .line 8
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->t:Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/b;

    iget-object v3, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->z:Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/b$c;

    invoke-virtual {v0, v3}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/b;->setOnSelectedListener(Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/b$c;)V

    .line 9
    sget v0, Les/x4;->durec_add_intro_outro_view_pager:I

    invoke-virtual {p0, v0}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/esfile/screen/recorder/ui/DuRecorderViewPager;

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->r:Lcom/esfile/screen/recorder/ui/DuRecorderViewPager;

    .line 10
    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/ui/DuRecorderViewPager;->setScrollable(Z)V

    .line 11
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->r:Lcom/esfile/screen/recorder/ui/DuRecorderViewPager;

    new-instance v3, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity$e;

    const/4 v4, 0x0

    invoke-direct {v3, p0, v4}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity$e;-><init>(Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity$a;)V

    invoke-virtual {v0, v3}, Landroidx/viewpager/widget/ViewPager;->setAdapter(Landroidx/viewpager/widget/PagerAdapter;)V

    .line 12
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->r:Lcom/esfile/screen/recorder/ui/DuRecorderViewPager;

    const/4 v3, 0x2

    invoke-virtual {v0, v3}, Landroidx/viewpager/widget/ViewPager;->setOffscreenPageLimit(I)V

    .line 13
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->r:Lcom/esfile/screen/recorder/ui/DuRecorderViewPager;

    iget-object v3, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->A:Landroidx/viewpager/widget/ViewPager$OnPageChangeListener;

    invoke-virtual {v0, v3}, Landroidx/viewpager/widget/ViewPager;->addOnPageChangeListener(Landroidx/viewpager/widget/ViewPager$OnPageChangeListener;)V

    .line 14
    sget v0, Les/x4;->durec_add_intro_outro_tab_layout:I

    invoke-virtual {p0, v0}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/esfile/screen/recorder/ui/DuTabLayout;

    .line 15
    iget-object v3, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->r:Lcom/esfile/screen/recorder/ui/DuRecorderViewPager;

    invoke-virtual {v0, v3}, Lcom/esfile/screen/recorder/ui/DuTabLayout;->setupWithViewPager(Landroidx/viewpager/widget/ViewPager;)V

    .line 16
    invoke-virtual {v0, v1}, Lcom/google/android/material/tabs/TabLayout;->getTabAt(I)Lcom/google/android/material/tabs/TabLayout$Tab;

    move-result-object v1

    sget v3, Les/z4;->durec_edit_intro:I

    invoke-virtual {v1, v3}, Lcom/google/android/material/tabs/TabLayout$Tab;->setText(I)Lcom/google/android/material/tabs/TabLayout$Tab;

    .line 17
    invoke-virtual {v0, v2}, Lcom/google/android/material/tabs/TabLayout;->getTabAt(I)Lcom/google/android/material/tabs/TabLayout$Tab;

    move-result-object v0

    sget v1, Les/z4;->durec_edit_outro:I

    invoke-virtual {v0, v1}, Lcom/google/android/material/tabs/TabLayout$Tab;->setText(I)Lcom/google/android/material/tabs/TabLayout$Tab;

    .line 18
    sget v0, Les/x4;->durec_add_intro_outro_preview_btn:I

    invoke-virtual {p0, v0}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->u:Landroid/view/View;

    .line 19
    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    return-void
.end method

.method private N()V
    .locals 6

    .line 1
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->m:Les/cd;

    iget-object v2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->o:[Ljava/lang/String;

    const/4 v3, 0x2

    const-string v4, "introoutro"

    const/16 v5, 0x1e

    move-object v0, p0

    invoke-static/range {v0 .. v5}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->a(Landroid/app/Activity;Les/cd;[Ljava/lang/String;ILjava/lang/String;I)V

    return-void
.end method

.method private O()V
    .locals 3

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->m:Les/cd;

    iget-object v0, v0, Les/cd;->f:Les/cd$e;

    if-eqz v0, :cond_1

    .line 2
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->z()Lcom/esfile/screen/recorder/videos/edit/player/VideoEditPlayer;

    move-result-object v0

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->getIntroAndOutroContainer()Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/IntroOutroTemplateContainer;

    move-result-object v0

    .line 3
    invoke-virtual {v0}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/IntroOutroTemplateContainer;->e()V

    .line 4
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->m:Les/cd;

    iget-object v1, v1, Les/cd;->f:Les/cd$e;

    iget-object v1, v1, Les/cd$e;->a:Les/cd$g;

    if-eqz v1, :cond_0

    .line 5
    invoke-virtual {v0}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/IntroOutroTemplateContainer;->getIntroBitmap()Landroid/graphics/Bitmap;

    move-result-object v2

    iput-object v2, v1, Les/cd$g;->j:Landroid/graphics/Bitmap;

    .line 6
    :cond_0
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->m:Les/cd;

    iget-object v1, v1, Les/cd;->f:Les/cd$e;

    iget-object v1, v1, Les/cd$e;->b:Les/cd$g;

    if-eqz v1, :cond_1

    .line 7
    invoke-virtual {v0}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/IntroOutroTemplateContainer;->getOutroBitmap()Landroid/graphics/Bitmap;

    move-result-object v0

    iput-object v0, v1, Les/cd$g;->j:Landroid/graphics/Bitmap;

    .line 8
    :cond_1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->P()V

    return-void
.end method

.method private P()V
    .locals 8

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->m:Les/cd;

    iget-object v1, v0, Les/cd;->f:Les/cd$e;

    if-eqz v1, :cond_6

    .line 2
    iget-object v2, v1, Les/cd$e;->a:Les/cd$g;

    .line 3
    iget-object v1, v1, Les/cd$e;->b:Les/cd$g;

    if-nez v2, :cond_0

    if-nez v1, :cond_0

    const/4 v1, 0x0

    .line 4
    iput-object v1, v0, Les/cd;->f:Les/cd$e;

    goto :goto_4

    .line 5
    :cond_0
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v3, "vertical"

    const-string v4, "horizontal"

    const-string v5, "_"

    const-string v6, "user_defined"

    if-eqz v2, :cond_3

    .line 6
    iget-object v7, v2, Les/cd$g;->c:Ljava/lang/String;

    invoke-static {v7}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v7

    if-eqz v7, :cond_1

    .line 7
    invoke-virtual {v0, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    goto :goto_0

    .line 8
    :cond_1
    iget-object v2, v2, Les/cd$g;->c:Ljava/lang/String;

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 9
    :goto_0
    invoke-virtual {v0, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 10
    iget-boolean v2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->x:Z

    if-eqz v2, :cond_2

    move-object v2, v3

    goto :goto_1

    :cond_2
    move-object v2, v4

    :goto_1
    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    :cond_3
    const/4 v2, 0x0

    .line 11
    invoke-virtual {v0}, Ljava/lang/StringBuilder;->length()I

    move-result v7

    invoke-virtual {v0, v2, v7}, Ljava/lang/StringBuilder;->delete(II)Ljava/lang/StringBuilder;

    if-eqz v1, :cond_6

    .line 12
    iget-object v2, v1, Les/cd$g;->c:Ljava/lang/String;

    invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-eqz v2, :cond_4

    .line 13
    invoke-virtual {v0, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    goto :goto_2

    .line 14
    :cond_4
    iget-object v1, v1, Les/cd$g;->c:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 15
    :goto_2
    invoke-virtual {v0, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 16
    iget-boolean v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->x:Z

    if-eqz v1, :cond_5

    goto :goto_3

    :cond_5
    move-object v3, v4

    :goto_3
    invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 17
    :cond_6
    :goto_4
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->m:Les/cd;

    invoke-static {v0}, Les/dd;->a(Les/cd;)V

    .line 18
    invoke-virtual {p0}, Landroid/app/Activity;->finish()V

    return-void
.end method

.method private Q()V
    .locals 10

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->m:Les/cd;

    iget-object v0, v0, Les/cd;->f:Les/cd$e;

    const-string v1, "AddIntroOrOutroActivity"

    if-eqz v0, :cond_e

    const-string v2, "introAndOutroInfo != null"

    .line 2
    invoke-static {v1, v2}, Lcom/esfile/screen/recorder/utils/n;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 3
    iget-object v1, v0, Les/cd$e;->a:Les/cd$g;

    const/4 v2, 0x1

    const/16 v3, 0x1122

    const/4 v4, 0x0

    const/16 v5, 0x1111

    const/4 v6, 0x0

    if-eqz v1, :cond_5

    .line 4
    iget-object v7, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->p:Ljava/util/List;

    invoke-interface {v7}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v7

    :cond_0
    invoke-interface {v7}, Ljava/util/Iterator;->hasNext()Z

    move-result v8

    if-eqz v8, :cond_1

    invoke-interface {v7}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v8

    check-cast v8, Les/zc;

    if-eqz v8, :cond_0

    .line 5
    iget-object v9, v8, Les/zc;->b:Ljava/lang/String;

    invoke-static {v9}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v9

    if-nez v9, :cond_0

    iget-object v8, v8, Les/zc;->b:Ljava/lang/String;

    iget-object v9, v1, Les/cd$g;->c:Ljava/lang/String;

    .line 6
    invoke-virtual {v8, v9}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v8

    if-eqz v8, :cond_0

    const/4 v7, 0x1

    goto :goto_0

    :cond_1
    const/4 v7, 0x0

    :goto_0
    if-nez v7, :cond_2

    .line 7
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->m:Les/cd;

    iget-object v1, v1, Les/cd;->f:Les/cd$e;

    iput-object v4, v1, Les/cd$e;->a:Les/cd$g;

    goto :goto_1

    .line 8
    :cond_2
    iget v8, v1, Les/cd$g;->b:I

    if-ne v8, v5, :cond_4

    .line 9
    iget-object v8, v1, Les/cd$g;->c:Ljava/lang/String;

    invoke-virtual {p0, v8}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->c(Ljava/lang/String;)Les/zc;

    move-result-object v8

    if-eqz v8, :cond_3

    .line 10
    iget-object v9, v1, Les/cd$g;->f:Ljava/util/List;

    iput-object v9, v8, Les/zc;->f:Ljava/util/List;

    .line 11
    iget-object v9, v1, Les/cd$g;->g:Ljava/util/List;

    iput-object v9, v8, Les/zc;->g:Ljava/util/List;

    .line 12
    :cond_3
    iget-object v8, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->s:Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/b;

    iget-object v1, v1, Les/cd$g;->c:Ljava/lang/String;

    invoke-virtual {v8, v1}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/b;->a(Ljava/lang/String;)V

    goto :goto_1

    :cond_4
    if-ne v8, v3, :cond_6

    .line 13
    iget-object v8, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->s:Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/b;

    iget-object v9, v1, Les/cd$g;->h:Ljava/lang/String;

    iget-object v1, v1, Les/cd$g;->i:Landroid/graphics/Bitmap;

    invoke-virtual {v8, v9, v1}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/b;->a(Ljava/lang/String;Landroid/graphics/Bitmap;)V

    goto :goto_1

    :cond_5
    const/4 v7, 0x0

    .line 14
    :cond_6
    :goto_1
    iget-object v0, v0, Les/cd$e;->b:Les/cd$g;

    if-eqz v0, :cond_f

    .line 15
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->q:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :cond_7
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v8

    if-eqz v8, :cond_8

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v8

    check-cast v8, Les/zc;

    if-eqz v8, :cond_7

    .line 16
    iget-object v9, v8, Les/zc;->b:Ljava/lang/String;

    invoke-static {v9}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v9

    if-nez v9, :cond_7

    iget-object v8, v8, Les/zc;->b:Ljava/lang/String;

    iget-object v9, v0, Les/cd$g;->c:Ljava/lang/String;

    .line 17
    invoke-virtual {v8, v9}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v8

    if-eqz v8, :cond_7

    goto :goto_2

    :cond_8
    const/4 v2, 0x0

    :goto_2
    if-nez v2, :cond_9

    .line 18
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->m:Les/cd;

    iget-object v0, v0, Les/cd;->f:Les/cd$e;

    iput-object v4, v0, Les/cd$e;->b:Les/cd$g;

    goto :goto_3

    .line 19
    :cond_9
    iget v1, v0, Les/cd$g;->b:I

    if-ne v1, v5, :cond_b

    .line 20
    iget-object v1, v0, Les/cd$g;->c:Ljava/lang/String;

    invoke-virtual {p0, v1}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->d(Ljava/lang/String;)Les/zc;

    move-result-object v1

    if-eqz v1, :cond_a

    .line 21
    iget-object v3, v0, Les/cd$g;->f:Ljava/util/List;

    iput-object v3, v1, Les/zc;->f:Ljava/util/List;

    .line 22
    iget-object v3, v0, Les/cd$g;->g:Ljava/util/List;

    iput-object v3, v1, Les/zc;->g:Ljava/util/List;

    .line 23
    :cond_a
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->t:Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/b;

    iget-object v0, v0, Les/cd$g;->c:Ljava/lang/String;

    invoke-virtual {v1, v0}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/b;->a(Ljava/lang/String;)V

    goto :goto_3

    :cond_b
    if-ne v1, v3, :cond_c

    .line 24
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->t:Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/b;

    iget-object v3, v0, Les/cd$g;->h:Ljava/lang/String;

    iget-object v0, v0, Les/cd$g;->i:Landroid/graphics/Bitmap;

    invoke-virtual {v1, v3, v0}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/b;->a(Ljava/lang/String;Landroid/graphics/Bitmap;)V

    :cond_c
    :goto_3
    if-eqz v7, :cond_d

    if-nez v2, :cond_f

    .line 25
    :cond_d
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->z()Lcom/esfile/screen/recorder/videos/edit/player/VideoEditPlayer;

    move-result-object v0

    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->m:Les/cd;

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/player/c;->setVideoEditPlayerInfo(Les/cd;)V

    goto :goto_4

    :cond_e
    const-string v0, "selectFirstPicture"

    .line 26
    invoke-static {v1, v0}, Lcom/esfile/screen/recorder/utils/n;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 27
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->s:Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/b;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/b;->a()V

    :cond_f
    :goto_4
    return-void
.end method

.method private R()V
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->m:Les/cd;

    iget-object v0, v0, Les/cd;->f:Les/cd$e;

    if-eqz v0, :cond_0

    const/4 v1, 0x0

    .line 2
    iput-object v1, v0, Les/cd$e;->a:Les/cd$g;

    .line 3
    :cond_0
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->z()Lcom/esfile/screen/recorder/videos/edit/player/VideoEditPlayer;

    move-result-object v0

    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->m:Les/cd;

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/player/c;->setVideoEditPlayerInfo(Les/cd;)V

    return-void
.end method

.method private S()V
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->m:Les/cd;

    iget-object v0, v0, Les/cd;->f:Les/cd$e;

    if-eqz v0, :cond_0

    const/4 v1, 0x0

    .line 2
    iput-object v1, v0, Les/cd$e;->b:Les/cd$g;

    .line 3
    :cond_0
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->z()Lcom/esfile/screen/recorder/videos/edit/player/VideoEditPlayer;

    move-result-object v0

    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->m:Les/cd;

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/player/c;->setVideoEditPlayerInfo(Les/cd;)V

    return-void
.end method

.method static synthetic a(Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;)Les/cd;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->m:Les/cd;

    return-object p0
.end method

.method private a(II)V
    .locals 0

    if-lt p1, p2, :cond_0

    if-eqz p1, :cond_0

    if-eqz p2, :cond_0

    const/4 p1, 0x0

    .line 5
    iput-boolean p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->x:Z

    goto :goto_0

    :cond_0
    const/4 p1, 0x1

    .line 6
    iput-boolean p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->x:Z

    :goto_0
    return-void
.end method

.method public static a(Landroid/content/Context;Ljava/lang/String;)V
    .locals 2

    .line 50
    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string v1, "extra_video_path"

    .line 51
    invoke-virtual {v0, v1, p1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const/high16 p1, 0x14000000

    .line 52
    invoke-virtual {v0, p1}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;

    .line 53
    invoke-virtual {p0, v0}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V

    return-void
.end method

.method private a(Landroid/view/MotionEvent;)V
    .locals 2

    .line 40
    invoke-virtual {p0}, Landroid/app/Activity;->getCurrentFocus()Landroid/view/View;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 41
    instance-of v1, v0, Landroid/widget/EditText;

    if-eqz v1, :cond_0

    invoke-direct {p0, p1, v0}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->a(Landroid/view/MotionEvent;Landroid/view/View;)Z

    move-result p1

    if-nez p1, :cond_0

    const-string p1, "input_method"

    .line 42
    invoke-virtual {p0, p1}, Landroid/app/Activity;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Landroid/view/inputmethod/InputMethodManager;

    if-eqz p1, :cond_0

    .line 43
    invoke-virtual {v0}, Landroid/view/View;->getWindowToken()Landroid/os/IBinder;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {p1, v0, v1}, Landroid/view/inputmethod/InputMethodManager;->hideSoftInputFromWindow(Landroid/os/IBinder;I)Z

    :cond_0
    return-void
.end method

.method static synthetic a(Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;Les/zc;Z)V
    .locals 0

    .line 2
    invoke-direct {p0, p1, p2}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->a(Les/zc;Z)V

    return-void
.end method

.method static synthetic a(Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;Ljava/lang/String;Landroid/graphics/Bitmap;Z)V
    .locals 0

    .line 3
    invoke-direct {p0, p1, p2, p3}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->a(Ljava/lang/String;Landroid/graphics/Bitmap;Z)V

    return-void
.end method

.method private a(Les/cd$g;Z)V
    .locals 2

    const/4 v0, 0x0

    .line 20
    iput v0, p1, Les/cd$g;->a:I

    const-wide/16 v0, 0xbb8

    .line 21
    iput-wide v0, p1, Les/cd$g;->k:J

    .line 22
    iget-boolean v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->x:Z

    iput-boolean v0, p1, Les/cd$g;->l:Z

    .line 23
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->m:Les/cd;

    iget-object v0, v0, Les/cd;->f:Les/cd$e;

    if-nez v0, :cond_0

    .line 24
    new-instance v0, Les/cd$e;

    invoke-direct {v0}, Les/cd$e;-><init>()V

    .line 25
    :cond_0
    iput-object p1, v0, Les/cd$e;->a:Les/cd$g;

    .line 26
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->m:Les/cd;

    iput-object v0, p1, Les/cd;->f:Les/cd$e;

    .line 27
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->z()Lcom/esfile/screen/recorder/videos/edit/player/VideoEditPlayer;

    move-result-object p1

    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->m:Les/cd;

    invoke-virtual {p1, v0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->setVideoEditPlayerInfo(Les/cd;)V

    if-eqz p2, :cond_1

    .line 28
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->v:Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/IntroOutroTemplateContainer;

    invoke-virtual {p1}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/IntroOutroTemplateContainer;->c()V

    :cond_1
    return-void
.end method

.method private a(Les/zc;Z)V
    .locals 2

    .line 7
    new-instance v0, Les/cd$g;

    invoke-direct {v0}, Les/cd$g;-><init>()V

    .line 8
    iget-object v1, p1, Les/zc;->b:Ljava/lang/String;

    iput-object v1, v0, Les/cd$g;->c:Ljava/lang/String;

    .line 9
    iget-object v1, p1, Les/zc;->d:Ljava/lang/String;

    iput-object v1, v0, Les/cd$g;->d:Ljava/lang/String;

    .line 10
    iget-object v1, p1, Les/zc;->e:Ljava/lang/String;

    iput-object v1, v0, Les/cd$g;->e:Ljava/lang/String;

    .line 11
    iget-object v1, p1, Les/zc;->f:Ljava/util/List;

    iput-object v1, v0, Les/cd$g;->f:Ljava/util/List;

    .line 12
    iget-object p1, p1, Les/zc;->g:Ljava/util/List;

    iput-object p1, v0, Les/cd$g;->g:Ljava/util/List;

    const/16 p1, 0x1111

    .line 13
    iput p1, v0, Les/cd$g;->b:I

    .line 14
    invoke-direct {p0, v0, p2}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->a(Les/cd$g;Z)V

    return-void
.end method

.method private a(Ljava/lang/String;Landroid/graphics/Bitmap;Z)V
    .locals 1

    .line 15
    new-instance v0, Les/cd$g;

    invoke-direct {v0}, Les/cd$g;-><init>()V

    .line 16
    iput-object p1, v0, Les/cd$g;->h:Ljava/lang/String;

    .line 17
    iput-object p2, v0, Les/cd$g;->i:Landroid/graphics/Bitmap;

    const/16 p1, 0x1122

    .line 18
    iput p1, v0, Les/cd$g;->b:I

    .line 19
    invoke-direct {p0, v0, p3}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->a(Les/cd$g;Z)V

    return-void
.end method

.method private a(Landroid/view/MotionEvent;Landroid/view/View;)Z
    .locals 9
    .param p2    # Landroid/view/View;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param

    const/4 v0, 0x2

    new-array v0, v0, [I

    .line 44
    invoke-virtual {p2, v0}, Landroid/view/View;->getLocationInWindow([I)V

    const/4 v1, 0x0

    .line 45
    aget v2, v0, v1

    const/4 v3, 0x1

    .line 46
    aget v0, v0, v3

    .line 47
    invoke-virtual {p2}, Landroid/view/View;->getWidth()I

    move-result v4

    add-int/2addr v4, v2

    invoke-virtual {p0}, Lcom/esfile/screen/recorder/base/BaseActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v5

    invoke-virtual {v5}, Landroid/content/res/Resources;->getDisplayMetrics()Landroid/util/DisplayMetrics;

    move-result-object v5

    iget v5, v5, Landroid/util/DisplayMetrics;->density:F

    const/high16 v6, 0x41200000    # 10.0f

    mul-float v5, v5, v6

    float-to-double v5, v5

    const-wide/high16 v7, 0x3fe0000000000000L    # 0.5

    invoke-static {v5, v6}, Ljava/lang/Double;->isNaN(D)Z

    add-double/2addr v5, v7

    double-to-int v5, v5

    sub-int/2addr v4, v5

    .line 48
    invoke-virtual {p2}, Landroid/view/View;->getHeight()I

    move-result p2

    add-int/2addr p2, v0

    .line 49
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getRawX()F

    move-result v5

    int-to-float v2, v2

    cmpg-float v2, v5, v2

    if-ltz v2, :cond_1

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getRawX()F

    move-result v2

    int-to-float v4, v4

    cmpl-float v2, v2, v4

    if-gtz v2, :cond_1

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getRawY()F

    move-result v2

    int-to-float v0, v0

    cmpg-float v0, v2, v0

    if-ltz v0, :cond_1

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getRawY()F

    move-result p1

    int-to-float p2, p2

    cmpl-float p1, p1, p2

    if-lez p1, :cond_0

    goto :goto_0

    :cond_0
    return v3

    :cond_1
    :goto_0
    return v1
.end method

.method private a(Les/cd$g;Les/cd$g;)Z
    .locals 4

    const/4 v0, 0x0

    const/4 v1, 0x1

    if-nez p1, :cond_1

    if-eqz p2, :cond_0

    const/4 v0, 0x1

    :cond_0
    return v0

    :cond_1
    if-nez p2, :cond_2

    return v1

    .line 29
    :cond_2
    iget v2, p1, Les/cd$g;->b:I

    const/16 v3, 0x1111

    if-ne v2, v3, :cond_5

    iget v2, p2, Les/cd$g;->b:I

    if-ne v2, v3, :cond_5

    .line 30
    iget-object v2, p1, Les/cd$g;->f:Ljava/util/List;

    iget-object v3, p2, Les/cd$g;->f:Ljava/util/List;

    invoke-direct {p0, v2, v3}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->a(Ljava/util/List;Ljava/util/List;)Z

    move-result v2

    if-nez v2, :cond_3

    iget-object p1, p1, Les/cd$g;->g:Ljava/util/List;

    iget-object p2, p2, Les/cd$g;->g:Ljava/util/List;

    .line 31
    invoke-direct {p0, p1, p2}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->a(Ljava/util/List;Ljava/util/List;)Z

    move-result p1

    if-eqz p1, :cond_4

    :cond_3
    const/4 v0, 0x1

    :cond_4
    return v0

    .line 32
    :cond_5
    iget v2, p1, Les/cd$g;->b:I

    const/16 v3, 0x1122

    if-ne v2, v3, :cond_b

    iget v2, p2, Les/cd$g;->b:I

    if-ne v2, v3, :cond_b

    .line 33
    iget-object v2, p1, Les/cd$g;->h:Ljava/lang/String;

    iget-object v3, p2, Les/cd$g;->h:Ljava/lang/String;

    invoke-static {v2, v3}, Landroid/text/TextUtils;->equals(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z

    move-result v2

    if-nez v2, :cond_6

    return v1

    .line 34
    :cond_6
    iget-object p1, p1, Les/cd$g;->i:Landroid/graphics/Bitmap;

    .line 35
    iget-object p2, p2, Les/cd$g;->i:Landroid/graphics/Bitmap;

    if-nez p1, :cond_8

    if-eqz p2, :cond_7

    const/4 v0, 0x1

    :cond_7
    return v0

    :cond_8
    if-nez p2, :cond_9

    return v1

    .line 36
    :cond_9
    invoke-virtual {p1}, Landroid/graphics/Bitmap;->isRecycled()Z

    move-result v2

    if-nez v2, :cond_a

    invoke-virtual {p2}, Landroid/graphics/Bitmap;->isRecycled()Z

    move-result v2

    if-nez v2, :cond_a

    invoke-virtual {p1, p2}, Landroid/graphics/Bitmap;->sameAs(Landroid/graphics/Bitmap;)Z

    move-result p1

    if-nez p1, :cond_a

    const/4 v0, 0x1

    :cond_a
    return v0

    :cond_b
    return v1
.end method

.method private a(Ljava/util/List;Ljava/util/List;)Z
    .locals 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Les/yc;",
            ">;",
            "Ljava/util/List<",
            "Les/yc;",
            ">;)Z"
        }
    .end annotation

    const/4 v0, 0x0

    if-nez p1, :cond_0

    if-nez p2, :cond_0

    return v0

    :cond_0
    const/4 v1, 0x1

    if-eqz p1, :cond_4

    if-eqz p2, :cond_4

    .line 37
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v2

    invoke-interface {p2}, Ljava/util/List;->size()I

    move-result v3

    if-eq v2, v3, :cond_1

    return v1

    :cond_1
    const/4 v2, 0x0

    .line 38
    :goto_0
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v3

    if-ge v2, v3, :cond_3

    .line 39
    invoke-interface {p1, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Les/yc;

    invoke-interface {p2, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v4

    invoke-virtual {v3, v4}, Les/yc;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-nez v3, :cond_2

    return v1

    :cond_2
    add-int/lit8 v2, v2, 0x1

    goto :goto_0

    :cond_3
    return v0

    :cond_4
    return v1
.end method

.method static synthetic b(Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;)Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/IntroOutroTemplateContainer;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->v:Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/IntroOutroTemplateContainer;

    return-object p0
.end method

.method static synthetic b(Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;Les/zc;Z)V
    .locals 0

    .line 2
    invoke-direct {p0, p1, p2}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->b(Les/zc;Z)V

    return-void
.end method

.method static synthetic b(Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;Ljava/lang/String;Landroid/graphics/Bitmap;Z)V
    .locals 0

    .line 3
    invoke-direct {p0, p1, p2, p3}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->b(Ljava/lang/String;Landroid/graphics/Bitmap;Z)V

    return-void
.end method

.method private b(Les/cd$g;Z)V
    .locals 2

    const/4 v0, 0x1

    .line 20
    iput v0, p1, Les/cd$g;->a:I

    const-wide/16 v0, 0xbb8

    .line 21
    iput-wide v0, p1, Les/cd$g;->k:J

    .line 22
    iget-boolean v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->x:Z

    iput-boolean v0, p1, Les/cd$g;->l:Z

    .line 23
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->m:Les/cd;

    iget-object v0, v0, Les/cd;->f:Les/cd$e;

    if-nez v0, :cond_0

    .line 24
    new-instance v0, Les/cd$e;

    invoke-direct {v0}, Les/cd$e;-><init>()V

    .line 25
    :cond_0
    iput-object p1, v0, Les/cd$e;->b:Les/cd$g;

    .line 26
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->m:Les/cd;

    iput-object v0, p1, Les/cd;->f:Les/cd$e;

    .line 27
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->z()Lcom/esfile/screen/recorder/videos/edit/player/VideoEditPlayer;

    move-result-object p1

    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->m:Les/cd;

    invoke-virtual {p1, v0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->setVideoEditPlayerInfo(Les/cd;)V

    if-eqz p2, :cond_1

    .line 28
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->v:Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/IntroOutroTemplateContainer;

    invoke-virtual {p1}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/IntroOutroTemplateContainer;->d()V

    :cond_1
    return-void
.end method

.method private b(Les/zc;Z)V
    .locals 2

    .line 7
    new-instance v0, Les/cd$g;

    invoke-direct {v0}, Les/cd$g;-><init>()V

    .line 8
    iget-object v1, p1, Les/zc;->b:Ljava/lang/String;

    iput-object v1, v0, Les/cd$g;->c:Ljava/lang/String;

    .line 9
    iget-object v1, p1, Les/zc;->d:Ljava/lang/String;

    iput-object v1, v0, Les/cd$g;->d:Ljava/lang/String;

    .line 10
    iget-object v1, p1, Les/zc;->e:Ljava/lang/String;

    iput-object v1, v0, Les/cd$g;->e:Ljava/lang/String;

    .line 11
    iget-object v1, p1, Les/zc;->f:Ljava/util/List;

    iput-object v1, v0, Les/cd$g;->f:Ljava/util/List;

    .line 12
    iget-object p1, p1, Les/zc;->g:Ljava/util/List;

    iput-object p1, v0, Les/cd$g;->g:Ljava/util/List;

    const/16 p1, 0x1111

    .line 13
    iput p1, v0, Les/cd$g;->b:I

    .line 14
    invoke-direct {p0, v0, p2}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->b(Les/cd$g;Z)V

    return-void
.end method

.method private b(Ljava/lang/String;Landroid/graphics/Bitmap;Z)V
    .locals 1

    .line 15
    new-instance v0, Les/cd$g;

    invoke-direct {v0}, Les/cd$g;-><init>()V

    .line 16
    iput-object p1, v0, Les/cd$g;->h:Ljava/lang/String;

    .line 17
    iput-object p2, v0, Les/cd$g;->i:Landroid/graphics/Bitmap;

    const/16 p1, 0x1122

    .line 18
    iput p1, v0, Les/cd$g;->b:I

    .line 19
    invoke-direct {p0, v0, p3}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->b(Les/cd$g;Z)V

    return-void
.end method

.method static synthetic c(Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;)Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/b;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->s:Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/b;

    return-object p0
.end method

.method static synthetic d(Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;)Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/b;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->t:Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/b;

    return-object p0
.end method

.method static synthetic e(Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->R()V

    return-void
.end method

.method static synthetic f(Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->S()V

    return-void
.end method


# virtual methods
.method protected B()V
    .locals 2

    .line 1
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->z()Lcom/esfile/screen/recorder/videos/edit/player/VideoEditPlayer;

    move-result-object v0

    const/16 v1, 0x1e

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/player/c;->setTimeRenderFlags(I)V

    return-void
.end method

.method protected C()Z
    .locals 6

    .line 1
    invoke-static {}, Les/dd;->a()Les/cd;

    move-result-object v0

    iget-object v0, v0, Les/cd;->f:Les/cd$e;

    .line 2
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->m:Les/cd;

    iget-object v1, v1, Les/cd;->f:Les/cd$e;

    const/4 v2, 0x0

    const/4 v3, 0x1

    if-nez v0, :cond_2

    if-eqz v1, :cond_1

    .line 3
    iget-object v0, v1, Les/cd$e;->a:Les/cd$g;

    if-nez v0, :cond_0

    iget-object v0, v1, Les/cd$e;->b:Les/cd$g;

    if-eqz v0, :cond_1

    :cond_0
    const/4 v2, 0x1

    :cond_1
    return v2

    .line 4
    :cond_2
    iget-object v4, v0, Les/cd$e;->a:Les/cd$g;

    iget-object v5, v1, Les/cd$e;->a:Les/cd$g;

    invoke-direct {p0, v4, v5}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->a(Les/cd$g;Les/cd$g;)Z

    move-result v4

    if-nez v4, :cond_3

    iget-object v0, v0, Les/cd$e;->b:Les/cd$g;

    iget-object v1, v1, Les/cd$e;->b:Les/cd$g;

    .line 5
    invoke-direct {p0, v0, v1}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->a(Les/cd$g;Les/cd$g;)Z

    move-result v0

    if-eqz v0, :cond_4

    :cond_3
    const/4 v2, 0x1

    :cond_4
    return v2
.end method

.method protected F()V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->O()V

    return-void
.end method

.method protected a(Lcom/esfile/screen/recorder/videos/edit/player/VideoEditPlayer;)V
    .locals 1

    .line 4
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->o:[Ljava/lang/String;

    invoke-virtual {p1, v0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->a([Ljava/lang/String;)V

    return-void
.end method

.method protected b(Ljava/lang/String;)Z
    .locals 0

    .line 4
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->I()V

    .line 5
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->L()V

    .line 6
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->J()V

    const/4 p1, 0x1

    return p1
.end method

.method public c(Ljava/lang/String;)Les/zc;
    .locals 4

    const/4 v0, 0x0

    if-nez p1, :cond_0

    return-object v0

    .line 6
    :cond_0
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->p:Ljava/util/List;

    if-nez v1, :cond_1

    return-object v0

    .line 7
    :cond_1
    invoke-interface {v1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :cond_2
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-eqz v2, :cond_3

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Les/zc;

    .line 8
    iget-object v3, v2, Les/zc;->b:Ljava/lang/String;

    invoke-virtual {p1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_2

    return-object v2

    :cond_3
    return-object v0
.end method

.method protected c(Lcom/esfile/screen/recorder/videos/edit/player/VideoEditPlayer;)V
    .locals 0

    .line 2
    invoke-super {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->c(Lcom/esfile/screen/recorder/videos/edit/player/VideoEditPlayer;)V

    .line 3
    iget-boolean p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->w:Z

    if-eqz p1, :cond_0

    .line 4
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->Q()V

    const/4 p1, 0x0

    .line 5
    iput-boolean p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->w:Z

    :cond_0
    return-void
.end method

.method public d(Ljava/lang/String;)Les/zc;
    .locals 4

    const/4 v0, 0x0

    if-nez p1, :cond_0

    return-object v0

    .line 2
    :cond_0
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->q:Ljava/util/List;

    if-nez v1, :cond_1

    return-object v0

    .line 3
    :cond_1
    invoke-interface {v1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :cond_2
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-eqz v2, :cond_3

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Les/zc;

    .line 4
    iget-object v3, v2, Les/zc;->b:Ljava/lang/String;

    invoke-virtual {p1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_2

    return-object v2

    :cond_3
    return-object v0
.end method

.method public dispatchTouchEvent(Landroid/view/MotionEvent;)Z
    .locals 1

    .line 1
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I

    move-result v0

    if-eqz v0, :cond_0

    goto :goto_0

    .line 2
    :cond_0
    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->a(Landroid/view/MotionEvent;)V

    .line 3
    :goto_0
    invoke-super {p0, p1}, Landroid/app/Activity;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z

    move-result p1

    return p1
.end method

.method protected onActivityResult(IILandroid/content/Intent;)V
    .locals 3

    const/16 v0, 0x3e9

    const/16 v1, 0x3e8

    if-eq p1, v1, :cond_0

    if-ne p1, v0, :cond_2

    :cond_0
    const/4 v2, -0x1

    if-ne p2, v2, :cond_2

    if-eqz p3, :cond_2

    const-string p2, "SELECTED_MEDIAS"

    .line 1
    invoke-virtual {p3, p2}, Landroid/content/Intent;->getParcelableArrayListExtra(Ljava/lang/String;)Ljava/util/ArrayList;

    move-result-object p2

    if-eqz p2, :cond_2

    .line 2
    invoke-virtual {p2}, Ljava/util/ArrayList;->size()I

    move-result p3

    if-lez p3, :cond_2

    const/4 p3, 0x0

    .line 3
    invoke-virtual {p2, p3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object p2

    check-cast p2, Lcom/esfile/screen/recorder/picture/picker/data/c;

    invoke-virtual {p2}, Lcom/esfile/screen/recorder/picture/picker/entity/MediaItem;->c()Ljava/lang/String;

    move-result-object p2

    if-ne p1, v1, :cond_1

    .line 4
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->s:Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/b;

    if-eqz v1, :cond_1

    iget-object v2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->v:Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/IntroOutroTemplateContainer;

    if-eqz v2, :cond_1

    .line 5
    invoke-virtual {v2}, Landroid/widget/FrameLayout;->getWidth()I

    move-result p1

    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->v:Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/IntroOutroTemplateContainer;

    .line 6
    invoke-virtual {v0}, Landroid/widget/FrameLayout;->getHeight()I

    move-result v0

    .line 7
    invoke-virtual {v1, p2, p1, v0}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/b;->a(Ljava/lang/String;II)V

    .line 8
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->z()Lcom/esfile/screen/recorder/videos/edit/player/VideoEditPlayer;

    move-result-object p1

    invoke-virtual {p1}, Lcom/esfile/screen/recorder/videos/edit/player/c;->getIntroAndOutroContainer()Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/IntroOutroTemplateContainer;

    move-result-object p1

    invoke-virtual {p1}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/IntroOutroTemplateContainer;->getOutroView()Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/c;

    move-result-object p1

    invoke-virtual {p1, p3}, Landroid/widget/FrameLayout;->setVisibility(I)V

    goto :goto_0

    :cond_1
    if-ne p1, v0, :cond_2

    .line 9
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->t:Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/b;

    if-eqz p1, :cond_2

    iget-object p3, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->v:Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/IntroOutroTemplateContainer;

    if-eqz p3, :cond_2

    .line 10
    invoke-virtual {p3}, Landroid/widget/FrameLayout;->getWidth()I

    move-result p3

    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->v:Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/IntroOutroTemplateContainer;

    .line 11
    invoke-virtual {v0}, Landroid/widget/FrameLayout;->getHeight()I

    move-result v0

    .line 12
    invoke-virtual {p1, p2, p3, v0}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/b;->a(Ljava/lang/String;II)V

    :cond_2
    :goto_0
    return-void
.end method

.method public onClick(Landroid/view/View;)V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->u:Landroid/view/View;

    if-ne p1, v0, :cond_0

    .line 2
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->N()V

    :cond_0
    return-void
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 1

    .line 1
    invoke-super {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->onCreate(Landroid/os/Bundle;)V

    .line 2
    invoke-virtual {p0}, Landroid/app/Activity;->isFinishing()Z

    move-result p1

    if-eqz p1, :cond_0

    return-void

    .line 3
    :cond_0
    invoke-static {}, Les/dd;->a()Les/cd;

    move-result-object p1

    iput-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->m:Les/cd;

    .line 4
    invoke-static {}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/a;->c()Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/a;

    move-result-object p1

    invoke-virtual {p1}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/a;->b()Les/cd$e;

    move-result-object p1

    if-eqz p1, :cond_1

    .line 5
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->m:Les/cd;

    invoke-static {}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/a;->c()Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/a;->b()Les/cd$e;

    move-result-object v0

    iput-object v0, p1, Les/cd;->f:Les/cd$e;

    .line 6
    invoke-static {}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/a;->c()Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/a;

    move-result-object p1

    const/4 v0, 0x0

    invoke-virtual {p1, v0}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/a;->a(Les/cd$e;)V

    .line 7
    :cond_1
    sget p1, Les/y4;->durec_video_edit_add_intro_outro_layout:I

    invoke-virtual {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->h(I)V

    .line 8
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->M()V

    .line 9
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->K()V

    return-void
.end method

.method protected onDestroy()V
    .locals 2

    .line 1
    invoke-super {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->onDestroy()V

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->v:Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/IntroOutroTemplateContainer;

    if-eqz v0, :cond_0

    .line 3
    sget-object v1, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/IntroOutroTemplateContainer$DisplayMode;->READ_ONLY:Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/IntroOutroTemplateContainer$DisplayMode;

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/IntroOutroTemplateContainer;->setDisplayMode(Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/IntroOutroTemplateContainer$DisplayMode;)V

    .line 4
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->v:Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/IntroOutroTemplateContainer;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/IntroOutroTemplateContainer;->setIntroTemplateInfoList(Ljava/util/List;)V

    .line 5
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->v:Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/IntroOutroTemplateContainer;

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/IntroOutroTemplateContainer;->setOutroTemplateInfoList(Ljava/util/List;)V

    :cond_0
    return-void
.end method

.method protected onPause()V
    .locals 1

    .line 1
    invoke-super {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->onPause()V

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->m:Les/cd;

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->n:Les/cd;

    return-void
.end method

.method protected onResume()V
    .locals 2

    .line 1
    invoke-super {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->onResume()V

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->n:Les/cd;

    if-eqz v0, :cond_0

    .line 3
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->z()Lcom/esfile/screen/recorder/videos/edit/player/VideoEditPlayer;

    move-result-object v0

    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->n:Les/cd;

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/player/c;->setVideoEditPlayerInfo(Les/cd;)V

    const/4 v0, 0x0

    .line 4
    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/inoutro/AddIntroOrOutroActivity;->n:Les/cd;

    :cond_0
    return-void
.end method

.method public u()Ljava/lang/String;
    .locals 1

    const-string v0, "SCREEN_VIDEO_EDIT_ADD_INTRO_OUTRO"

    return-object v0
.end method

.method protected x()I
    .locals 1

    .line 1
    sget v0, Les/z4;->durec_common_ok:I

    return v0
.end method

.method protected y()I
    .locals 1

    .line 1
    sget v0, Les/z4;->durec_edit_intro_and_outro:I

    return v0
.end method
